查询银行转账充值结果
提交充值申请后,可调用该接口查询充值状态。银行充值到账存在延迟:一般可在10分钟内到账。受央行大额系统工作时间限制,周一至周四17:15-20:30,周五17:15-24:00,节假日全天会延迟到账
请求参数 | 类型 | 描述 |
---|---|---|
out_recharge_no | string | 商户充值单号 |
php
$instance->v3->platsolution->ecommerce->bankTransferRecharges->outRechargeNo->_out_recharge_no_->getAsync([
'out_recharge_no' => 'cz202407181234',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/bank-transfer-recharges/out-recharge-no/{out_recharge_no}')->getAsync([
'out_recharge_no' => 'cz202407181234',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/bank-transfer-recharges/out-recharge-no/{out_recharge_no}']->getAsync([
'out_recharge_no' => 'cz202407181234',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->bankTransferRecharges->outRechargeNo->_out_recharge_no_->get([
'out_recharge_no' => 'cz202407181234',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/bank-transfer-recharges/out-recharge-no/{out_recharge_no}')->get([
'out_recharge_no' => 'cz202407181234',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/bank-transfer-recharges/out-recharge-no/{out_recharge_no}']->get([
'out_recharge_no' => 'cz202407181234',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
mchid | string | 充值商户号 |
recharge_id | string | 微信支付充值单号 |
out_recharge_no | string | 商户充值单号 |
account_type | string | 充值入账账户BASIC | OPERATION | FEES 枚举值之一 |
recharge_state | string | 充值状态SUCCESS | RECHARGING | CLOSED 枚举值之一 |
recharge_scene | string | 充值场景ECOMMERCE_BANK_TRANSFER 枚举值 |
recharge_state_desc | string | 充值状态描述 |
recharge_amount | object | 充值金额 |
amount | number | 总金额 |
currency | string | 货币类型 |
bank_transfer_info | object | 转账充值的付款信息 |
memo | string | 转账充值附言 |
return_time | string | 银行转账退回时间 |
return_reason | string | 银行转账退回原因 |
bank_name | string | 开户银行名称 |
bank_card_tail | string | 银行卡号后四位 |
accept_time | string | 受理充值时间 |
success_time | string | 充值成功时间 |
close_time | string | 关闭充值时间 |
参阅 官方文档